<div th:replace="~{ app :: layout ('个人主页',_, ~{::#main}, _) }" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity6">

    <div class="container user-center my-2rem" id="main">
        <div class="row">
            <div class="col-lg-3">
                <div class="card shadow-sm">
                    <div class="card-body">
                        <div th:replace="~{user/_fragment :: #user-center-left}"></div>
                    </div>
              </div>
            </div>

            <div class="col-lg-9 mt-3 mt-lg-0">
                <div class="card shadow-sm">
                    <div class="card-header">
                        个人资料
                    </div>
                    <div class="card-body">
                        <p class="item">
                            用户名：<span sec:authentication="name"></span>
                        </p>
                        <p class="item">
                            邮&emsp;箱：<span sec:authentication="principal.user.email"></span>
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>